package com.unittec.drainage.sdk.manage.request;

import com.alibaba.fastjson.JSONArray;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

@Data
@ApiModel("修改区域坐标请求实体")
public class Req301004 implements Serializable {

    private static final long serialVersionUID = 9136698734882463311L;

    /**
     * id
     */
    @NotBlank(message = "id不能为空")
    @ApiModelProperty(value = "id")
    private String id;

    /**
     * 坐标
     */
    @NotEmpty(message = "坐标列表不能为空")
    @ApiModelProperty("多点坐标用于面，格式[[x坐标,y坐标]]")
    private List<JSONArray> coordinatesList;

}
